#include"Queue.h"
void Queuetest01()
{
	Queue pur;
	QueueInit(&pur);
	QueuePush(&pur,1);
	QueuePush(&pur, 2);
	QueuePush(&pur, 3);
	QueuePush(&pur, 4);
	QueueShow(&pur);
	
	QueuePop(&pur);
	QueueShow(&pur);

	QDataType stemp = QueueFront(&pur);
	printf("%d\n", stemp);
	stemp = QueueBack(&pur);
	printf("%d\n", stemp);
	QueueShow(&pur);

	int size = QueueSize(&pur);
	printf("%d\n", size);

	QueueDestroy(&pur);
	QueueShow(&pur);
}

int main()
{
	Queuetest01();
	return 0;
}